<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>png++: png::basic_rgb_pixel&lt; T &gt; Struct Template Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">png++
   &#160;<span id="projectnumber">0.2.1</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespacepng.html">png</a>      </li>
      <li class="navelem"><a class="el" href="structpng_1_1basic__rgb__pixel.html">basic_rgb_pixel</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle">
<div class="title">png::basic_rgb_pixel&lt; T &gt; Struct Template Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="png::basic_rgb_pixel" -->
<p>RGB pixel type.  
 <a href="structpng_1_1basic__rgb__pixel.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="rgb__pixel_8hpp_source.html">rgb_pixel.hpp</a>&gt;</code></p>

<p><a href="structpng_1_1basic__rgb__pixel-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpng_1_1basic__rgb__pixel.html#ab518b1e48c2b1a1a5e174a3a4add124e">basic_rgb_pixel</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. Initializes all components with zeros.  <a href="#ab518b1e48c2b1a1a5e174a3a4add124e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpng_1_1basic__rgb__pixel.html#a4de8101d04d355ad774dba920f03d7ae">basic_rgb_pixel</a> (T <a class="el" href="structpng_1_1basic__rgb__pixel.html#a1095529894a298d4656948cb36935878">red</a>, T <a class="el" href="structpng_1_1basic__rgb__pixel.html#a5374bdd9e1c309395af769929fd00b64">green</a>, T <a class="el" href="structpng_1_1basic__rgb__pixel.html#a671eb0ddbdcd92db993ef505a5851af4">blue</a>)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs rgb_pixel object from <em>red</em>, <em>green</em> and <em>blue</em> components passed as parameters.  <a href="#a4de8101d04d355ad774dba920f03d7ae"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpng_1_1basic__rgb__pixel.html#a1095529894a298d4656948cb36935878">red</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpng_1_1basic__rgb__pixel.html#a5374bdd9e1c309395af769929fd00b64">green</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpng_1_1basic__rgb__pixel.html#a671eb0ddbdcd92db993ef505a5851af4">blue</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename T&gt;<br/>
struct png::basic_rgb_pixel&lt; T &gt;</h3>

<p>RGB pixel type. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ab518b1e48c2b1a1a5e174a3a4add124e"></a><!-- doxytag: member="png::basic_rgb_pixel::basic_rgb_pixel" ref="ab518b1e48c2b1a1a5e174a3a4add124e" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structpng_1_1basic__rgb__pixel.html">png::basic_rgb_pixel</a>&lt; T &gt;::<a class="el" href="structpng_1_1basic__rgb__pixel.html">basic_rgb_pixel</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Default constructor. Initializes all components with zeros. </p>

</div>
</div>
<a class="anchor" id="a4de8101d04d355ad774dba920f03d7ae"></a><!-- doxytag: member="png::basic_rgb_pixel::basic_rgb_pixel" ref="a4de8101d04d355ad774dba920f03d7ae" args="(T red, T green, T blue)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structpng_1_1basic__rgb__pixel.html">png::basic_rgb_pixel</a>&lt; T &gt;::<a class="el" href="structpng_1_1basic__rgb__pixel.html">basic_rgb_pixel</a> </td>
          <td>(</td>
          <td class="paramtype">T&#160;</td>
          <td class="paramname"><em>red</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T&#160;</td>
          <td class="paramname"><em>green</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T&#160;</td>
          <td class="paramname"><em>blue</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructs rgb_pixel object from <em>red</em>, <em>green</em> and <em>blue</em> components passed as parameters. </p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a1095529894a298d4656948cb36935878"></a><!-- doxytag: member="png::basic_rgb_pixel::red" ref="a1095529894a298d4656948cb36935878" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T <a class="el" href="structpng_1_1basic__rgb__pixel.html">png::basic_rgb_pixel</a>&lt; T &gt;::<a class="el" href="structpng_1_1basic__rgb__pixel.html#a1095529894a298d4656948cb36935878">red</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a5374bdd9e1c309395af769929fd00b64"></a><!-- doxytag: member="png::basic_rgb_pixel::green" ref="a5374bdd9e1c309395af769929fd00b64" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T <a class="el" href="structpng_1_1basic__rgb__pixel.html">png::basic_rgb_pixel</a>&lt; T &gt;::<a class="el" href="structpng_1_1basic__rgb__pixel.html#a5374bdd9e1c309395af769929fd00b64">green</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a671eb0ddbdcd92db993ef505a5851af4"></a><!-- doxytag: member="png::basic_rgb_pixel::blue" ref="a671eb0ddbdcd92db993ef505a5851af4" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T <a class="el" href="structpng_1_1basic__rgb__pixel.html">png::basic_rgb_pixel</a>&lt; T &gt;::<a class="el" href="structpng_1_1basic__rgb__pixel.html#a671eb0ddbdcd92db993ef505a5851af4">blue</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="rgb__pixel_8hpp_source.html">rgb_pixel.hpp</a></li>
</ul>
</div><!-- contents -->


<hr class="footer"/><address class="footer"><small>
Generated on Fri Jan 25 2013 14:10:10 for png++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
